package com.dream.banana.redis.lock.annotation;

import java.lang.annotation.*;

/**
 * 躲了一辈子雨，雨会不会很难过。
 * </p>
 * Created by zhumenglong on 2017/5/28.
 */
@Documented
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface DistributedLock {
    String keyPrefix();

    String keySuffix();

    int expireTime() default 3000;

    int waitLockTime() default 1000;
}
